package com.bincloud.vue.admin.web.util.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Description: Captcha 配置
 * @Author: bincloud, mvpzhou
 * @Date: Create By bincloud, mvpzhou on 2022/2/22
 */
@Configuration
@ConfigurationProperties(prefix = "vue.admin.captcha")
@Data
public class CaptchaConfig {

    /**
     * 类型
     */
    private int type = 1;

    /**
     * 是否忽略大小写
     */
    private boolean ignore = false;

    /**
     * 验证码有效期 秒
     */
    private long timeout = 60;
}
